﻿@using LY.Entity
@{
    ViewBag.Title = "添加项目";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<link href="~/Content/validform.css" rel="stylesheet" />
@section style {

}

@section scripts{
    <script type="text/javascript">
        $(function () {
            $("#btnClose").click(function () {
                window.close();
            });

            $("#btnRefund").click(function () { //申请退款
                $.ajax({
                    url: "/UserOrder/Refund",
                    type: "Post",
                    success: function (data) {
                        alert(data);
                        window.close();
                    },
                    data: "orderNo=" + '@ViewBag.SerialNumber',
                });
            });
        });

    </script>
}
<script src="~/Content/assets/app/common/ajaxupload.js"></script>
<script src="~/Scripts/Validform_v5.3.2_min.js"></script>
<script src="~/Scripts/Validform_Datatype.js"></script>
<script src="~/Scripts/jquery.unobtrusive-ajax.js"></script>


<div class="line10"></div>
<div class="container">
    <div class="additem" id="additem1">
        <h1 id="editInfo">订单详情</h1>
        <dl>
            <dt>收货地址：</dt>
            <dd>@ViewBag.ContactNumber，@ViewBag.UserAddress</dd>
        </dl>
        <dl>
            <dt>订单信息：</dt>
            <dd>
                <ul>
                    <li><span class="tr">订单号 ：</span>@ViewBag.SerialNumber</li>


                    <li><span class="tr">支付金额：</span>￥@ViewBag.Amount </li>
                    <li><span class="tr">备注：</span>@ViewBag.Remark</li>
                    <li><span class="tr">客服备注：</span>无</li>
                </ul>
            </dd>
        </dl>
    </div>
    <div align="center">
        <table id="itemtable" cellspacing="0" style="width: 1000px; border: 2px solid #EFEFEF; text-align: center">
            <tr style="background-color: #EFEFEF; height: 30px;">
                <td style="width: 80px;">项目名称</td>
                <td style="width: 80px;">发起人</td>
                <td style="width: 300px;">回报</td>
                <td style="width: 100px;">支持金额</td>
                <td style="width: 100px;">运费</td>
            </tr>
            <tr>
                <td style="width: 80px;">@ViewBag.projectName</td>
                <td style="width: 80px;">@ViewBag.memberName</td>
                <td style="width: 300px;">@ViewBag.MRedoundContent</td>
                <td style="width: 100px;">￥@ViewBag.Amount</td>
                <td style="width: 100px;">￥@ViewBag.Freight</td>
            </tr>
        </table>
        <div class="line10"></div>
        @if (ViewBag.PayStatus == 1)
        {
            <input type="button" id="btnRefund" class="button" value="申请退款" />
        }
        <input type="button" id="btnClose" class="button" value="关闭" />
        <div class="line10"></div>
    </div>
</div>





